@import '../../../index.scss';

.container {
  padding-bottom: 200rpx;

  .tips {
    display: flex;
    padding: 20rpx 40rpx;
    margin: 30rpx;
    background-color: #f8f8f8;
    align-items: center;
    justify-content: center;
    border-radius: 20rpx;

    .icon {
      height: 44rpx;
      padding: 0 10rpx;
      // margin-right: 40rpx;
      opacity: .9;
    }

    .txt {
      font-size: 26rpx;
      padding-left: 30rpx;
      flex: 1;
      // font-weight: bold;
      line-height: 1.5;
    }
  }

  .boxs {
    .item {
      display: flex;
      align-items: center;
      padding: 40rpx 30rpx;
      border-top: 1px solid #f8f8f8;

      .cover {
        width: 200rpx;
        height: 200rpx;
        margin-right: 20rpx;
        background-color: #f8f8f8;
        border-radius: 8rpx;
        overflow: hidden;

        image {
          width: 100%;
          height: 100%;

        }
      }

      .detail {
        flex: 1;
        height: 200rpx;
        display: flex;
        flex-direction: column;

        .title {
          font-size: 34rpx;
          font-weight: bold;
          margin-bottom: 10rpx;
          line-height: 1;
        }

        .desc {
          font-size: 26rpx;
          color: #787878;
        }

        .tip {
          display: flex;
          flex: 1;
          padding-top: 10rpx;

          .x {
            font-size: 20rpx;
            margin-right: 10rpx;

            &:nth-of-type(1) {
              color: #e03131;
            }

            &:nth-of-type(2) {
              color: #fab005;
            }
          }
        }

        .mitx {
          // flex: 1;

          display: flex;
          justify-content: space-between;
          align-items: center;

          .price {
            font-size: 28rpx;
            font-weight: bold;
            color: #000;
          }

          .total {
            display: flex;
            align-items: center;

            image {
              width: 44rpx;
              height: 44rpx;
            }

            .num {
              padding: 0 10rpx;
              font-size: 26rpx;
              color: #565656;
              display: flex;
              align-items: center;

              text {
                font-weight: bold;
                padding-left: 4rpx;
                font-size: 28rpx;
              }
            }
          }
        }
      }
    }
    .delete{
      height: 280rpx;
      background-color: red;
      width: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 28rpx;
    }
  }

  .botton-fiexd {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 120rpx;
    background-color: rgba($color: #fff, $alpha: 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rpx 0 30rpx 0;
    border-top: 1px solid #f8f8f8;

    .left {
      display: flex;
      // padding: 0 20rpx;
      padding-left: 20rpx;

      .list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        // margin: 0 20rpx;
        margin: 0 20rpx;
        position: relative;

        .icon {
          padding-left: 20rpx;
        }

        .num {
          position: absolute;
          font-size: 20rpx;
          top: 16rpx;
          font-weight: bold;
          // background-color: red;
          padding-left: 6rpx;
          width: 100%;
          text-align: center;
        }

        .name {
          font-size: 22rpx;
          padding-top: 10rpx;
        }

        .txt {
          font-size: 28rpx;
          color: #787878;
          margin-left: -20rpx;

          .number {
            padding: 0 4rpx;
          }
        }
      }


    }

    .right {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: flex-end;

      .btn {
        padding: 30rpx 30rpx;
        // flex-basis: 45%;
        width: 300rpx;

        box-sizing: border-box;
        border-radius: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin-right: 30rpx;
        background-color: #ccc;
        color: #fff;
        font-size: 28rpx;

        &.active {
          background-color: #000;
        }


      }
    }
  }
}

.confirmation {
  padding: 0 0 0rpx 0;
  box-sizing: border-box;

  .store {
    display: flex;
    padding: 40rpx 40rpx;

    .cover {
      width: 120rpx;
      height: 120rpx;
      margin-right: 20rpx;
      background-color: #f8f8f8;

      image {
        width: 100%;
        height: 100%;
      }
    }

    .right {
      flex: 1;

      .title {
        font-size: 28rpx;
        font-weight: bold;

      }
    }
  }

  .list {
    // padding-top: 40rpx;
    border-bottom: 1rpx solid #f0f0f0;

    .item {
      padding: 30rpx 40rpx;
      border-top: 1rpx solid #f0f0f0;
      // border-bottom: 1px solid #f8f8f8;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60rpx;

      .label {
        font-size: 28rpx;
        font-weight: bold;
      }

      .box {
        display: flex;
        align-items: center;

        .add {
          width: 20rpx;
          height: 20rpx;

        }

        .txt {
          font-size: 26rpx;
          color: #ccc;
          padding-right: 30rpx;

          &.price {
            color: #000;
            padding-right: 44rpx;
            font-size: 28rpx;
            font-weight: bold;
          }
        }

        .address {
          font-size: 26rpx;
          color: #ccc;
          padding-right: 20rpx;
        }
      }
    }


  }

  .btn {
    background-color: #ccc;
    margin: 40rpx;
    height: 100rpx;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    color: #fff;

    &.active {
      background-color: #000;
    }
  }
}

.address {
  padding: 30rpx;
  padding-bottom: 60rpx;

  .title {
    font-size: 26rpx;
    font-weight: bold;
    padding: 20rpx 0;

  }

  .list {
    .item {
      display: flex;
      align-items: center;
      padding: 10rpx 0;

      .middel {
        flex: 1;

        .name {
          font-size: 32rpx;
          font-weight: bold;
          padding-bottom: 4rpx;

        }

        .phone {
          font-size: 28rpx;
          color: #000;
        }

        .city {
          color: #999;
          font-size: 26rpx;
        }

        .desc {
          color: #999;
          font-size: 26rpx;
        }
      }

      .edit {
        font-size: 24rpx;
        text-decoration: underline;
        color: red;
      }

    }
  }

  .btn {
    padding: 30rpx 20rpx;
    border: 1px solid #666;
    margin-top: 30rpx;
    border-radius: 100px;
    text-align: center;
    font-weight: bold;

    &.active {
      background-color: #000;
      color: #fff;
    }
  }

}